package com.hopes.bizz.close.gis.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description 门禁通行记录DTO
 * @time 2024/2/25 14:40
 */
@Data
public class AccessRecordDTO implements Serializable {

    private static final long serialVersionUID = 4185787382290108468L;

    /**
     * 门禁Id
     */
    private Long accessId;

    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;


    /**
     * 截止时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
